package com.ssy.lingxi.pay.model.vo.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 分页查询授信交易记录VO
 * @author 伍将
 * @date 2020/8/21
 * @version 2.0.0
 */
public class PageQueryCreditTradeRecordVO extends PageVO implements Serializable {
    private static final long serialVersionUID = 7986743159645777034L;

    /**
     * 授信id
     */
    @NotNull(message = "授信id要大于等于0")
    @PositiveOrZero(message = "授信id要大于等于0")
    private Long creditId;

    /**
     * 账单id
     */
    @NotNull(message = "账单id要大于等于0")
    @PositiveOrZero(message = "账单id要大于等于0")
    private Long billId;

    public Long getBillId() {
        return billId;
    }

    public void setBillId(Long billId) {
        this.billId = billId;
    }

    public Long getCreditId() {
        return creditId;
    }

    public void setCreditId(Long creditId) {
        this.creditId = creditId;
    }
}
